<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:104:"D:\phpstudy_pro\WWW\qdcrmceshi.com\public/../application/admin\view\qingdongams\report\daily\detail.html";i:1751938036;s:77:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\layout\default.html";i:1746006160;s:74:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\meta.html";i:1746006160;s:93:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\qingdongams\common\form_detail.html";i:1751938036;s:76:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\script.html";i:1746006160;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo htmlentities(\think\Config::get('fastadmin.adminskin') ?? ''); ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config ?? ''); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo htmlentities($vo['url'] ?? ''); ?>"><?php echo htmlentities($vo['title'] ?? ''); ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                
<div class="panel panel-default panel-intro">

    <div>



        <div class="tab-content">

            <div role="tabpanel" >
                <div class="form-group">
                    <div class="alert alert-warning-light no-margin">
                       工作报告信息
                    </div>
                </div>

                <div class="form-group">

                    <?php if(is_array($form_data) || $form_data instanceof \think\Collection || $form_data instanceof \think\Paginator): if( count($form_data)==0 ) : echo "" ;else: foreach($form_data as $key=>$val): if($val['config']['is_delete'] == true || true): if($val['component'] == 'input'): ?>
		<div class="col-xs-6 col-sm-5">
			<div class="form-group col-sm-10">
				<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
				<?php echo $row[$val['id']]??''; ?>
			</div>
		</div>
	<?php endif; if($val['component'] == 'input-number'): ?>
		<div class="col-xs-6 col-sm-5">
			<div class="form-group col-sm-10">
				<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
				<?php echo $row[$val['id']]??''; ?>
			</div>
		</div>
	<?php endif; if($val['component'] == 'textarea'): ?>
	<div class="col-xs-12 col-sm-10">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'radio'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>

		</div>
	</div>
	<?php endif; if($val['component'] == 'checkbox'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'Cascader'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'select'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'TimePicker'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'DatePicker'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'Rate'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo $row[$val['id']]??''; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'uploadImage'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']] != ''): if(is_array($row[$val['id']]) || $row[$val['id']] instanceof \think\Collection || $row[$val['id']] instanceof \think\Paginator): if( count($row[$val['id']])==0 ) : echo "" ;else: foreach($row[$val['id']] as $key=>$v): ?>
			<a href="<?php echo $v['file_path']??''; ?>" target="_blank" style="margin-right:10px;">
				<img  src="<?php echo $v['file_path']??''; ?>" data-tips-image width="100px" height="100px" alt="">
			</a>
			<?php endforeach; endif; else: echo "" ;endif; endif; ?>
		</div>
	</div>
	<?php endif; if($val['component'] == 'uploadFile'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']] != ''): if(is_array($row[$val['id']]) || $row[$val['id']] instanceof \think\Collection || $row[$val['id']] instanceof \think\Paginator): if( count($row[$val['id']])==0 ) : echo "" ;else: foreach($row[$val['id']] as $key=>$v): ?>
			<a href="<?php echo $v['file_path']??''; ?>" target="_blank" style="margin-right:10px;">
				<?php echo $v['name']; ?>
			</a>
			<?php endforeach; endif; else: echo "" ;endif; endif; ?>
		</div>
	</div>
	<?php endif; ?>

	<!--金额-->
	<?php if($val['component'] == 'input-money'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
		</div>
	</div>
	<?php endif; ?>
	<!--	手机号-->
	<?php if($val['component'] == 'input-mobile'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
		</div>
	</div>
	<?php endif; ?>
	<!--邮箱-->
	<?php if($val['component'] == 'input-email'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
		</div>
	</div>
	<?php endif; ?>
	<!--编辑器-->
	<?php if($val['component'] == 'editor'): ?>
	<div class="col-xs-12 col-sm-10">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
		</div>
	</div>
	<?php endif; ?>
	<!--开关-->
	<?php if($val['component'] == 'switch'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<a href="javascript:;" data-toggle="switcher" disabled class="btn-switcher" data-input-id="c-<?php echo $val['id']; ?>" data-yes="1" data-no="0" >
				<?php if(isset($row[$val['id']])): if($row[$val['id']] == '0'): ?>
					<i class='fa fa-toggle-on text-success fa-flip-horizontal text-gray fa-2x'></i>
					<?php else: ?>
					<i class='fa fa-toggle-on text-success fa-2x'></i>
					<?php endif; else: ?>
					<i class='fa fa-toggle-on text-success fa-flip-horizontal text-gray fa-2x'></i>
				<?php endif; ?>

			</a>
		</div>
	</div>
	<?php endif; ?>

	<!--地理位置-->
	<?php if($val['component'] == 'location'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
			<a href="https://apis.map.qq.com/uri/v1/marker?marker=coord:<?php echo (isset($row[$val['id'].'_lat']) && ($row[$val['id'].'_lat'] !== '')?$row[$val['id'].'_lat']:''); ?>,<?php echo (isset($row[$val['id'].'_lng']) && ($row[$val['id'].'_lng'] !== '')?$row[$val['id'].'_lng']:''); ?>;title:<?php echo (isset($row['name']) && ($row['name'] !== '')?$row['name']:''); ?>;addr:<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>&referer=crm" target="_blank" ><i class="fa fa-map-marker text-blue" style="font-size: 18px;margin-right:4px"></i></a>
		</div>
	</div>

	<?php endif; ?>
	<!--地图-->
	<?php if($val['component'] == 'map'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>
			<a href="https://apis.map.qq.com/uri/v1/marker?marker=coord:<?php echo (isset($row[$val['id'].'_lat']) && ($row[$val['id'].'_lat'] !== '')?$row[$val['id'].'_lat']:''); ?>,<?php echo (isset($row[$val['id'].'_lng']) && ($row[$val['id'].'_lng'] !== '')?$row[$val['id'].'_lng']:''); ?>;title:<?php echo (isset($row['name']) && ($row['name'] !== '')?$row['name']:''); ?>;addr:<?php echo (isset($row[$val['id']]) && ($row[$val['id']] !== '')?$row[$val['id']]:''); ?>&referer=crm" target="_blank" ><i class="fa fa-map-marker text-blue" style="font-size: 18px;margin-right:4px"></i></a>
		</div>
	</div>
	<?php endif; ?>
	<!--关联客户-->
	<?php if($val['component'] == 'customer'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--关联联系人-->
	<?php if($val['component'] == 'contact'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--关联合同-->
	<?php if($val['component'] == 'contract'): ?>
	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--关联商机-->
	<?php if($val['component'] == 'business'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--关联员工-->
	<?php if($val['component'] == 'staff'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--关联部门-->
	<?php if($val['component'] == 'department'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): ?>
			<?php echo (isset($row[$val['id']]['name']) && ($row[$val['id']]['name'] !== '')?$row[$val['id']]['name']:''); endif; ?>
		</div>
	</div>
	<?php endif; ?>
	<!--标签-->
	<?php if($val['component'] == 'label'): ?>

	<div class="col-xs-12 col-sm-5">
		<div class="form-group col-sm-10">
			<span class="text-muted"><?php echo $val['config']['label']; ?>:</span>
			<?php if(isset($row[$val['id']]) && $row[$val['id']]): $label_info=explode(',',$row[$val['id']]); if(is_array($label_info) || $label_info instanceof \think\Collection || $label_info instanceof \think\Paginator): if( count($label_info)==0 ) : echo "" ;else: foreach($label_info as $key=>$tem): $label_color=explode('^',$tem); if(isset($label_color[1])): ?>
				<div class="label" style="margin-left:5px;background: rgba(0, 82, 204, 0.1);color: <?php echo $label_color['1']; ?>"><?php echo $label_color['0']; ?></div>
				<?php endif; endforeach; endif; else: echo "" ;endif; endif; ?>
		</div>
	</div>
	<?php endif; endif; endforeach; endif; else: echo "" ;endif; ?>

                </div>

            </div>

        </div>

    </div>

    <div  class="tab-pane"  >

        <table id="comment" class="table table-striped table-bordered table-hover table-nowrap"
               width="100%">
        </table>
    </div>

</div>


                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require.min.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>

    </body>
</html>
